package com.andycloud.andy.common.core.util;

public class Test {
	public static void main(String[] args) {
		String ss="123456@54321";
		System.out.println(ss.indexOf("@"));
		if(ss.contains("$")){
			System.out.println("44444444");
			System.out.println(ss.substring(0,ss.indexOf("$")));
			System.out.println(ss.substring(ss.indexOf("$")+1,ss.length()));
		}
		if(ss.contains("@")){
			System.out.println("33333");
			System.out.println(ss.substring(0,ss.indexOf("@")));
			System.out.println(ss.substring(ss.indexOf("@")+1,ss.length()));
		}
	}
}
